﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Entities
{
    /// <summary>
    /// 机构表
    /// </summary>
    public class OrganizationInfo
    {
        /// <summary>
        /// 主键，唯一标识
        /// </summary>
        public long OrganizationInfoId { get; set; }

        /// <summary>
        /// 机构编号
        /// </summary>
        public string OrgNo { get; set; }

        /// <summary>
        /// 机构全称
        /// </summary>
        public string OrgFullName { get; set; }

        /// <summary>
        /// 删除标记，0 未删除，1 删除
        /// </summary>
        public string DeleteFlag { get; set; }

        /// <summary>
        /// 父机构 id
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 机构简称
        /// </summary>
        public string OrgAbr { get; set; }

        /// <summary>
        /// 机构显示顺序
        /// </summary>
        public string Sort { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 租户 id
        /// </summary>
        public long? TenantId { get; set; }
    }
}
